package com.crm.service.crm.businessOpportunities.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.crm.model.crm.businessOpportunities.pojo.CustomInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CustomInfoMapper extends BaseMapper<CustomInfo> {
    //根据手机查询用户名字
    @Select("select name from crm_custom_info where phone = #{phone}")
    public String getNameByPhone(String phone);
}
